class CreateSerials < ActiveRecord::Migration
  def self.up
    create_table :serials do |t|
      t.string :year
      t.string :number
      t.string :volume
      t.string :epoch
      t.string :publication_date
      t.references :material
      t.float :price
      t.references :currency

      t.timestamps
    end
  end

  def self.down
    drop_table :serials
  end
end
